package study.springboot.mvc.service.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
//
@HeadRowHeight(value = 20)
@HeadFontStyle(color = 20)
@HeadStyle
//@ContentRowHeight
//@ContentFontStyle
//@ContentStyle
public class ExcelExportData {

//    @ColumnWidth
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("年龄")
    private Integer age;

    private Integer sex;
}
